package com.hyt.it.ogt.kq.service.gov.model.param;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.hyt.model.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @title: CandidatePageParam
 * @description: 考生分页查询入参
 * @author: wangrl
 * @date 2021/10/19 10:36
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel(value="CandidatePageParam", description="分页查询考生信息入参对象")
public class CandidatePageParam  implements Serializable {

    private static final long serialVersionUID = -6849794470754667710L;

    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "搜索关键字")
    private String searchText;

    @ApiModelProperty(value = "科目id")
    private String subjectId;

    @ApiModelProperty(value = "省编码")
    private String provinceId;

    @ApiModelProperty(value = "市编码")
    private String cityId;

    @ApiModelProperty(value = "县/区编码")
    private String districtId;

    @ApiModelProperty(value = "所属二级机构")
    private String levelTwo;

    @ApiModelProperty(value = "所属三级机构")
    private String levelThere;

    @ApiModelProperty(value = "所属四级机构")
    private String levelFour;

    @ApiModelProperty(value = "部门id")
    private String deptId;

    @ApiModelProperty(value = "科目ids")
    private List<String> subjectIds;

    @ApiModelProperty(hidden = true)
    private String records;

    @ApiModelProperty(value = "column：排序字段；asc：true正序，false倒序")
    private List<OrderItem> orders = new ArrayList<>();

    @ApiModelProperty(hidden = true)
    private long total;

    @ApiModelProperty(value = "每页显示条数，默认 10")
    private long size = 100;

    @ApiModelProperty(value = "当前页")
    private long current;
}
